package com.todo.sight.application.iface.frontend.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/8 21:24
 * @description
 */
@Data
@Schema(name = "根据POIId查询景点详细信息", description = "根据POIId查询景点详细信息")
public class QuerySightDetailByPoiParam {

    @Schema(name = "poiId", description = "poiId")
    private Long poiId;

    public boolean baseCheck() {
        if (poiId == null || poiId <= 0){
            return false;
        }
        return true;
    }
}
